package com.xqls.service.impl;

import com.xqls.dal.dao.IntakeRealdataRecordDao;
import com.xqls.dal.model.IntakeRealdataRecord;
import com.xqls.service.IntakeRealdataRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by hdg on 2017/7/3.
 */
@Service
public class IntakeRealdataRecordServiceImpl implements IntakeRealdataRecordService{
    @Autowired
    IntakeRealdataRecordDao IntakeRealdataRecordDao;

    @Override
    public int insertList(List<IntakeRealdataRecord> intakeList) {
        return IntakeRealdataRecordDao.insertList(intakeList);
    }

    @Override
    public int selectId() {
        return IntakeRealdataRecordDao.selectId();
    }

    @Override
    public List<Map<String, Object>> selectByMap(Map<String, Object> map) {
        return IntakeRealdataRecordDao.selectByMap(map);
    }

    @Override
    public List<Map<String, Object>> selectAll() {
        return IntakeRealdataRecordDao.selectAll();
    }
}
